package com.bw.mapper;

import com.bw.entity.Back;
import com.bw.entity.Day14User;
import com.bw.entity.User;
import com.bw.entity.UserQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {


    User selectByName(String name);

    void add(User user);

    void updateById(User userFromDB);

    List<Back> selectBack();

    List<Day14User> selectByQuery(UserQuery query);
}
